package com.laowang.project.system.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Component
public class Point {

  @NotNull(message = "经度不能为空")
  private double longitude; //经度

  @NotNull(message = "维度不能为空")
  private double latitude;// 维度
}
